package com.senven.type.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.senven.common.entity.Type;
import com.senven.common.pojo.vo.CommonResult;
import com.senven.common.pojo.vo.TypeVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author YSH
 * @since 2022-09-01
 */
public interface TypeService extends IService<Type> {

    CommonResult selectType(Integer currentPage,Integer pageSize,TypeVo typeVo);

    CommonResult insertType(Type type);

    CommonResult updateType(Type id);

    CommonResult delType(Integer id);
}
